package com.ethink.system.facade.impl;

import com.ethink.system.api.info.SystemAppInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ethink.system.service.SystemAppService;
import com.ethink.system.api.SystemAppFacade;

import java.util.List;

/**
 * 系统APP表 Facade接口
 *
 * @author default
 * @date 2022-09-26
 */
@RestController
@Slf4j
@RequestMapping("system-service/facade/v1/systemApp")
public class SystemAppFacadeImpl implements SystemAppFacade {

    @Autowired
    private SystemAppService systemAppService;

    @Override
    public List<SystemAppInfo> getSystemAppList() {
        return systemAppService.getSystemAppList();
    }
}